# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=xorg-cf-files
pkgver=1.0.7
pkgrel=0
pkgdesc="Data files for the imake utility"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
makedepends="$depends_dev"
subpackages="$pkgname-doc"
source="https://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
}

sha512sums="
0dd73b9db9fc16bddc94ef23f11434be6ea2f8e0c7bc5ef3c3bfe6749e13843f88d397eed9f980bbbe9e74147172326bd3c3ccb7adedc9150302756e4b07191e  xorg-cf-files-1.0.7.tar.bz2
"
